{extend name="base" /}
{block name="style"}
<script src="__STATIC__/doclist/js/ipage/ipage.js"></script>
<script src="__STATIC__/doclist/js/list/methods.js"></script>
<script src="__STATIC__/doclist/js/list/main.js"></script>
<script src="__STATIC__/doclist/js/fixedScroll.js.js"></script>
<link rel="stylesheet" href="__STATIC__/doclist/css/list.css">
{/block}
{block name="body"}
<div class="filter_box">
    <div class="filter">
        <div class="item">
            <div class="tit">版权:</div>
            <div class="list">
                {foreach name=":config('type')" item="v1"}
                <a href="/index/title/title/type/{$v1.value}{neq name="id" value=""}/id/{$id}{/neq}{neq name="keyword" value=""}/keyword/{$keyword}{/neq}" class="{eq name='$v1.value' value='$type'}active{/eq}">{$v1.name}</a>
                {/foreach}
            </div>
        </div>
        <div class="item">
            <div class="tit">分类:</div>
            <div class="list">
                {foreach name="category" item="v"}
                <a href="{:url('index/title/title',['sid'=>$v.id,'type'=>$type ,'id' => $id])}" class="{eq name='$v.id' value='$sid'}active{/eq}">{$v.name}</a>
                {/foreach}
            </div>
        </div>
    </div>
</div>
<div class="filter_box">
    <div class="filter">
        <div class="item">
            <div class="tit">排序:</div>
            <div class="list">
                {foreach name=":config('sort')" item="v2"}
                <a href="/index/title/title/sort/{$v2.value}{neq name="keyword" value=""}/keyword/{$keyword}{/neq}" class="{eq name='$v2.value' value='$sort'}active{/eq}">{$v2.name}</a>
                {/foreach}
            </div>
        </div>
    </div>
</div>


<div class="toppages global_pages">

</div>

<div class="list_box title_list">
    <div class="list">
        {foreach name="title_list" item="t"}
        <div class="item">
            <div class="img">
                <img src="{$t.path}">
            </div>
            <div class="text">
                <h2>{$t.title}</h2>
                <pre class="content">{$t.abstract}</pre>
                <p class="info">
                    <span class="time">{$t.create_time}</span>
                    <a href="###" class="classs">{$v.name}</a>
                </p>
            </div>
            <div class="button">
                    <a target="_blank" href="/index/title/wenantitledetail/id/{$t.id}">查看类似</a>
            </div>
        </div>
        {/foreach}
    </div>
    <div class="side_nav">
        <div class="doc_vlass">
            标题分类
            <ul class="list">
                {foreach name="category" item="v"}
                <li><a href="{:url('index/lists/lists',['sid'=>$v.id,'type'=>$type])}">{$v.name}</a></li>
                {/foreach}
            </ul>
        </div>
        <div class="goTop">TOP</div>
        
    </div>
</div>
<div class="loginmorm">
    <button>加载更多</button>
</div>
<div class="bottompages global_pages">
</div>
{/block}